package com.code.google.wormon;

import javax.swing.SwingUtilities;

import com.code.google.wormon.base.Engine;
import com.code.google.wormon.base.GameFrame;

/**
 * The WormOn Game.
 * 
 * @author volnei
 * 
 */
public class Wormon {

	public static void main(String[] args) {
		final WormonGame game = new WormonGame();
		final Engine engine = new Engine(game);
		final GameFrame frame = new GameFrame("Wormon 0.1", game);
		SwingUtilities.invokeLater(new Runnable() {
			@Override
			public void run() {
				frame.setVisible(true);
				engine.start();
			}
		});

	}
}